<nav class="links">
	<ul>
		
		<li><a href="/phpdb/index.php/contract/mylist" class="ico1">我的合同</a></li>
        <li><a href="/phpdb/index.php/contract/submit" class="ico1">提交合同审批</a></li>
		<?php
			if (@in_array("查看所有合同",$userAuth))
				echo '<li><a href="/phpdb/index.php/contract/contlist" class="ico1">所有合同</a></li>';
		?>

		<?php
			if (@in_array("审批待审批合同",$userAuth) || @in_array("合同定密",$userAuth) || @in_array("提交科研院审批",$userAuth) || @in_array("最终审批",$userAuth))
				echo '<li><a href="/phpdb/index.php/contract/checklist" class="ico1">待审批列表</a></li>';
		?>
        
	</ul>
</nav>